package cn.iocoder.yudao.module.system.controller.admin.workstore.vo;

import cn.iocoder.yudao.module.system.controller.admin.workstorepallet.vo.WorkStorePalletRespVO;
import cn.iocoder.yudao.module.system.dal.dataobject.workstorepallet.WorkStorePalletDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 工单入库 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WorkStoreRespVO {

    @Schema(description = "工单入库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13303")
    @ExcelProperty("工单入库id")
    private Integer id;

    @Schema(description = "工单表id", example = "4578")
    @ExcelProperty("工单表id")
    private Integer workId;

    @Schema(description = "入库方式：1数量2重量")
    @ExcelProperty("入库方式：1数量2重量")
    private String storageMethod;

    @Schema(description = "入库总量")
    @ExcelProperty("入库总量")
    private BigDecimal totalQuantity;

    @Schema(description = "入库器具")
    @ExcelProperty("入库器具")
    private String storageEquipment;
    @Schema(description = "入库器具二级")
    @ExcelProperty("入库器具二级")
    private String storageEquipment2;

    @Schema(description = "入库批次号")
    @ExcelProperty("入库批次号")
    private String batchNumber;

    @Schema(description = "是否上挂：1未开始2上挂中3上挂完成")
    @ExcelProperty("是否上挂：1未开始2上挂中3上挂完成")
    private Integer racking;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remarks;
    @Schema(description = "入库托记录")
    @ExcelProperty("入库托记录")
    private List<WorkStorePalletRespVO> workStorePalletRespVO;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
